<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
    <style>
     
    </style>
</head>
<body>
    <div class="app">
        <header>
            <button @click="show = 0">话费</button>
            <button @click="show = 1">机票</button>
            <button @click="show = 2">酒店</button>
        </header>
        <footer>
            <!-- 话费的内筒 -->
            <ul v-show="show == 0">
                <li>话费内容</li>
                <li>
                    <input type="text" value="话费内容">
                </li>
            </ul>
            <!-- 机票的内容 -->
            <ul  v-show="show == 1">
                <li>机票的内容</li>
                <li>
                    鹅鹅鹅,曲项向天歌,
                    白毛浮绿水,红掌拨清波
                </li>
            </ul>
            <!-- 酒店内容 -->
            <ul  v-show="show == 2">
                <li>酒店的内容</li>
                <li>
                     七天酒店
                </li>
            </ul>
        </footer>
    </div>
</body>
</html>
<script>
       const VM = new Vue({
        el:'.app',  
        data:{
            show:0
        }

     
    })
</script>



